package day20180912;

/**
 * 创建时间：2018/9/12 09:35
 * 作者：易佳
 * 邮箱：824668713@qq.com
 */
public class Hero {
    private String name;
    private Weapon weapon;

    public Hero() {
    }

    public Hero(String name, Weapon weapon) {
        this.name = name;
        this.weapon = weapon;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Weapon getWeapon() {
        return weapon;
    }

    public void setWeapon(Weapon weapon) {
        this.weapon = weapon;
    }
}
